package co.gov.medellin.sdep.sisdep.operativa.service;

import java.util.List;

import co.gov.medellin.sdep.sisdep.operativa.exception.CharlaPProgException;
import co.gov.medellin.sdep.sisdep.operativa.exception.CitacionException;
import co.gov.medellin.sdep.sisdep.model.CharlaPProg;
import co.gov.medellin.sdep.sisdep.model.Citacion;

/**
 * @author Usuario
 * La excepcion CharlaPProgException, debe ser utilizada para reflejar una
 * condicion de una regla de negocio que se requiera al ejecutar 
 * una operacion X o Y en el sistema.
 *
 */
public interface ICharlaPProgService {

	/**
	 * 
	 * @param newCharlaPProg
	 * @throws CharlaPProgException
	 */
	void insert(CharlaPProg newCharlaPProg) throws CharlaPProgException;

	/**
	 * 
	 * @param newCharlaPProg
	 * @throws CharlaPProgException
	 */
	void update(CharlaPProg newCharlaPProg) throws CharlaPProgException;

	/**
	 * 
	 * @param newCharlaPProg
	 * @throws CharlaPProgException
	 */
	void delete(CharlaPProg newCharlaPProg) throws CharlaPProgException;

	/**
	 * 
	 * @param start
	 * @param limit
	 * @param criteria
	 * @return
	 * @throws CharlaPProgException
	 */
	List load(int start,int limit,CharlaPProg criteria) throws CharlaPProgException;
	
	/**
	 * 
	 * @param start
	 * @param limit
	 * @param criteria
	 * @return
	 * @throws CharlaPProgException
	 */
	List loadByTipoCharla(int start,int limit,CharlaPProg criteria) throws CharlaPProgException;


	/**
	 * 
	 * @param id
	 * @return
	 * @throws CharlaPProgException
	 */
	CharlaPProg get(long id) throws CharlaPProgException;

	/**
	 * 
	 * @param start
	 * @param limit
	 * @param criteria
	 * @return
	 * @throws CitacionException
	 */
	String verificarDocumento(CharlaPProg charlaPProg) throws CharlaPProgException;
	
	

}
